package com.itzsj.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RegisterDTO {

    private String sno;

    private String name;

    private Short gender;

    private String dept;

    private String major;

    private String grade;

    private String phone;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private LocalDate graduateDate;

    private String password;

}
